[index]

CommandKey Function

Syntax

the commandKey or commandKey()

Description

The commandKey function checks whether the Ctrl key is currently pressed (the Command key on the Macintosh). If the Ctrl key is pressed, the function returns down; if the Ctrl key is not pressed, the function returns up. CommandKey can be abbreviated cmdkey. The commandKey function does not perform the action of pressing the Ctrl key; it simply returns a string stating whether the key is currently pressed.

Notes


This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.